#include <iostream>
const double PI = 3.1415926;
using namespace std;

int main(){
    int r;
    cin>>r;
    printf("%.2f\n", PI * r * r);
    printf("%.2f", PI * r * 2);
    return 0;
}